package io.gitee.yaoshanli.engine.service.impl;

import io.gitee.yaoshanli.engine.FlowEngine;
import io.gitee.yaoshanli.engine.service.IFlowService;
import io.gitee.yaoshanli.engine.service.ITaskService;

/**
 * @author 姚善利
 * @classname org.jwflow.engine.impl
 * @description
 * @date 2022/9/21 10:43
 */
public class FlowEngineImpl implements FlowEngine {

    //流程
    private IFlowService flowService=new FlowService();
    //任务
    private ITaskService taskService=new TaskService();

    @Override
    public IFlowService flow() {
        return flowService;
    }

    @Override
    public ITaskService task() {
        return taskService;
    }
}
